										<if condition="$submenu eq 0">
										<form action="{:U('save_menu_data',array('mid'=>$menu['mid']))}" method="post" id="urlForm">
											<div class="frm_control_group">
												<em>类型</em>
												<span class="frm_select_box">
													<select name="type">
														<option value="1" <if condition="$menu.type eq 1">selected</if>>按钮</option>
														<option value="2" <if condition="$menu.type eq 2">selected</if>>链接</option>
													</select>
												</span>
												<if condition="$menu.type eq 1">
												<div class="keyword_input">
													<em>关键词</em>
													<span class="frm_input_box">
														<input type="text" class="frm_input" id="keyword" name="key_value" value="{$menu.value}">
													</span>
												</div>
												<else />
												<div class="url_input">
													<em>链接</em>
													<span class="frm_input_box">
														<input type="text" class="frm_input" id="url" name="url_value" value="{$menu.value}">
													</span>
												</div>
												</if>
											</div>
											<div class="tool_bar">
												<button class="submit btn btn_primary" id="urlSave">保存</button>
											</div>
										</form>
										<else />
										该菜单下子菜单不为空，请点击子菜单进行编辑
										</if>
